package com.ruoyi.wq.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.wq.domain.WqUserPlay;
import com.ruoyi.wq.domain.vo.WqUserPlayVO;

/**
 * 达人陪玩Service接口
 * 
 * @author ruoyi
 * @date 2023-09-05
 */
public interface IWqUserPlayService extends IService<WqUserPlay> {

    /**
     * 查询达人陪玩
     * 
     * @param id 达人陪玩主键
     * @return 达人陪玩
     */
    public WqUserPlay selectWqUserPlayById(String id);

    /**
     * 查询达人陪玩列表
     * 
     * @param wqUserPlay 达人陪玩
     * @return 达人陪玩集合
     */
    public List<WqUserPlay> selectWqUserPlayList(WqUserPlay wqUserPlay);

    /**
     * 新增达人陪玩
     * 
     * @param wqUserPlay 达人陪玩
     * @return 结果
     */
    public int insertWqUserPlay(WqUserPlay wqUserPlay);

    /**
     * 修改达人陪玩
     * 
     * @param wqUserPlay 达人陪玩
     * @return 结果
     */
    public int updateWqUserPlay(WqUserPlay wqUserPlay);

    /**
     * 批量删除达人陪玩
     * 
     * @param ids 需要删除的达人陪玩主键集合
     * @return 结果
     */
    public int deleteWqUserPlayByIds(String[] ids);

    /**
     * 删除达人陪玩信息
     * 
     * @param id 达人陪玩主键
     * @return 结果
     */
    public int deleteWqUserPlayById(String id);

	public boolean saveUserPlay(WqUserPlay wqUserPlay);

	public TableDataInfo getPageList(WqUserPlayVO wqUserPlay);

	public List<WqUserPlayVO> getPlayList(Long userId);

	public TableDataInfo getUserPageList(WqUserPlayVO wqUserPlay);

}
